package com.yb.client.feign;


import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@FeignClient(url = "http://127.0.0.1:8081",name = "haha")
public interface ResourceFeignClient {

    @RequestMapping("/")
    public String get();

    @RequestMapping("/hello")
    String hello();
    @RequestMapping("/admin")
    String admin();
}
